﻿<Window x:Class="PFC.Program.Profile.profile_Window"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:PFC.Program.Profile"
        mc:Ignorable="d"
        xmlns:n="clr-namespace:PFC.CustomControls"
        Title="PFC - Профиль" 
        Height="450" 
        Width="800"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterScreen">
    
    <Grid Background="#FFFF8000">

        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="400"/>
        </Grid.RowDefinitions>

        <!--Кнопка выхода из профиля-->
        <Button Name="exit_Btn"
                Style="{DynamicResource ButtonStyle}"
                Content="ВЫЙТИ"
                Background="Black"
                Foreground="White"
                Margin="15 0 0 0"
                HorizontalAlignment="Left"
                Click="exit_Btn_Click"/>

        <!--Панель с именем и авой-->
        <StackPanel Orientation="Horizontal"
                    HorizontalAlignment="Center">

            <!--Аватарка с возможностью сменить её-->
            <n:NavButton x:Name="ava_Img"
                         Width="45"
                         Height="45"
                         ImageSource="/Resources/user.png"
                         Click="ava_Img_Click"/>

            <!--Логин пользователя-->
            <TextBlock Name="loginUser_Txb"
                       FontSize="20"
                       FontFamily="Calibri"
                       Foreground="White"
                       Text="Пример текста"
                       VerticalAlignment="Center"
                       Margin="3 0 0 0"/>

            <!--Кнопка удаления профиля-->
            <n:NavButton x:Name="DeleteProfileBtn"
                     Width="45"
                     Height="45"
                     HorizontalAlignment="Right"
                     Margin="10 5 0 0"
                     ImageSource="/Resources/deleteProfile.png"
                     Click="DeleteProfileBtn_Click"/>
        </StackPanel>

        <!--Название программы-->
        <TextBlock Text="PFC"
                   Foreground="White"
                   FontFamily="Calibri"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   FontSize="40"
                   Margin="0 0 15 0"/>

        <Frame Grid.Row="1" 
               Name="MainFrame"
               Source="/Program/Profile/Pages/Wallets.xaml"
               NavigationUIVisibility="Hidden"/>
    </Grid>
</Window>
